<template>
</template>

<script>
	export default {
		data() {
			return {
				//分页加载
				param: {
					page: 1,
					pageSize: 10,
					noMoreData: false
				},
			}
		},
		methods: {
			
			//前往订单页面
			toUrl(url) {
				uni.navigateTo({
					url,
				})
			},
			backUrl(delta) {
				uni.navigateBack({
					delta:delta,
				})
			},
			
			m_show(){
				uni.showLoading({
					mask:true,
					title: "加载中"
				})
			},
			
			m_hide(){
				setTimeout(()=>{
					uni.hideLoading();
				}, 300)
			},
			m_toast(msg){
				uni.showToast({
					mask:true,
					title: msg,
					icon: "none"
				})
			},
			
			m_empty(obj) {
				if (typeof obj == undefined || obj == null || obj == '') {
					return true;
				} else {
					return false;
				}
			}
			
		}
	}
</script>

<style>
</style>